firecracker_d ~master (2020-07-21T18:22:28Z)
Dub
Repo
RateLimiter
firecracker_d
models
rate_limiter
Undocumented in source.
struct
RateLimiter {
mixin
BaseModel
;
@
serializationKeys
("bandwidth")
TokenBucket
bandwidth
;
@
serializationKeys
("ops")
TokenBucket
ops
;
}
Members
Mixins
__anonymous
mixin
BaseModel
Undocumented in source.
Variables
bandwidth
TokenBucket
bandwidth
;
Token bucket with bytes as tokens
ops
TokenBucket
ops
;
Token bucket with operations as tokens
Mixed In Members
From
mixin
BaseModel
stringify
string
stringify
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
firecracker_d
models
rate_limiter
structs
RateLimiter